package com.erp.bean;

import java.util.ArrayList;
import java.util.List;

public class ProductionExecuteBean {
    public String plmd_id = "";
    public String status_name = "";
    public String status = "";
    public String heap_number = "";
    public String workshop = "";
    public String elevator_number = "";
    public String count = "";
    public String productive_time = "";
    public String thickness = "";
    public String stock = "";
    public String stock_name = "";
    public String iu_name = "";


    public List<plmd_yhhbean> listyyh = new ArrayList<plmd_yhhbean>();
    public static class plmd_yhhbean {
        public String color = "";
        public String thickness = "";
        public String amount = "";
        public String productive_time = "";
        public String iu_name = "";
        public String iu_name2 = "";
        public String yhh_id = "";
        public String getiu_name(){
            if(iu_name2 == ""){
                return iu_name;
            }else{
                return iu_name2;
            }
        }

        @Override
        public String toString() {
            return "plmd_yhhbean{" +
                    "color='" + color + '\'' +
                    ", thickness='" + thickness + '\'' +
                    ", amount='" + amount + '\'' +
                    ", productive_time='" + productive_time + '\'' +
                    ", iu_name='" + iu_name + '\'' +
                    ", iu_name2='" + iu_name2 + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ProductionExecuteBean{" +
                "plmd_id='" + plmd_id + '\'' +
                ", status_name='" + status_name + '\'' +
                ", status='" + status + '\'' +
                ", heap_number='" + heap_number + '\'' +
                ", workshop='" + workshop + '\'' +
                ", elevator_number='" + elevator_number + '\'' +
                ", count='" + count + '\'' +
                ", productive_time='" + productive_time + '\'' +
                ", thickness='" + thickness + '\'' +
                ", stock='" + stock + '\'' +
                ", stock_name='" + stock_name + '\'' +
                ", iu_name='" + iu_name + '\'' +
                ", listyyh=" + listyyh +
                '}';
    }
}
